package perform.event;

import java.lang.reflect.Field;
import java.util.List;

import perform.type.Type;

public class UpdateEvent<T extends Type> extends PerformEvent {
	
	private T target;
	private List<T> targets;

	public UpdateEvent(Type source, Field sourceField, T target) {
		super(source, sourceField);
		this.target = target;
	}
	public UpdateEvent(Type source, Field sourceField, List<T> targets) {
		super(source, sourceField);
		this.targets = targets;
	}
	
	public T getTarget() {
		return target;
	}
	public List<T> getTargets() {
		return targets;
	}

}
